package lab02.test35;

public class Worker extends Employee {

    public Worker(String name) {
        super(name);
    }

    @Override
    public void computeSalary() {

        double daySalary = 120;
        int day = 20;
        salary = 120 * day;
    }
}
